package com.client.bean;

import java.util.UUID;

public class BirdMessage {
	public BirdMessage()
	{
		
	}
//	public String birdId = UUID.randomUUID().toString();// 鸟类id
//	public String birdImage = "http://imgsrc.baidu.com/baike/pic/item/507c389767b4dd5655fb96b3.jpg";// 鸟类图片
//	public String date = "2012年1月08日";// 日期
//	public String birdName = "";// 鸟类名称
//	public String num = "10";// 数量
//	public String kind = "游禽";// 种类
//	// public List<String> kinds=new ArrayList<String>() ;//种类 列表
//	public String healthNum = "10";// 健康数量
//	public String sickNum = "10";// 生病数量
//	public String sickImage = "http://imgsrc.baidu.com/baike/pic/item/b13fd480405922a69023d977.jpg";// 生病图像
//	public String sickDes = "";// 生病症状描述
//	public String deadNum = "10";// 死亡数量
//	public String deadImage = "http://www.cysyw.com/UploadFiles/2011516205710949.jpg";// 死亡图像
//	public String deadDes = "";// 死亡症状描述
//	public String collectLoaction = "采集地点";// /采集地点
//	// public List<String> collectLoactions=new ArrayList<String>() ;//采集地点 列表
//	public String place = "山顶";// /采集位置
//	// public List<String> places=new ArrayList<String>() ;//采集位置 列表
//	public String direct = "东";// /方位
//	// public List<String> directs=new ArrayList<String>() ;//方位 列表
//	public String distance = "0-50米";// /距离
//	// public List<String> distances=new ArrayList<String>() ;//距离 列表
//	public String stayPlace = "城市公园";// /栖息地
//	public String longitude="经度";
//	public String latitude="纬度";
//	public String status="";//状态
//	public String lasttime="";//状态
//	public String uploaded="false";//状态
//	// public List<String> stayPlaces=new ArrayList<String>() ;//栖息地 列表
//
//	public String pinyin="";
//	public int clickNum=0;
	
	public String birdId = "";// 鸟类id
	public String birdImage = "";// 鸟类图片
	public String date = "";// 日期
	public String birdName = "";// 鸟类名称
	public String num = "";// 数量
	public String kind = "";// 种类
	// public List<String> kinds=new ArrayList<String>() ;//种类 列表
	public String healthNum = "";// 健康数量
	public String sickNum = "";// 生病数量
	public String sickImage = "";// 生病图像
	public String sickDes = "";// 生病症状描述
	public String deadNum = "";// 死亡数量
	public String deadImage = "";// 死亡图像
	public String deadDes = "";// 死亡症状描述
	public String collectLoaction = "";// /采集地点
	// public List<String> collectLoactions=new ArrayList<String>() ;//采集地点 列表
	public String place = "";// /采集位置
	// public List<String> places=new ArrayList<String>() ;//采集位置 列表
	public String direct = "";// /方位
	// public List<String> directs=new ArrayList<String>() ;//方位 列表
	public String distance = "";// /距离
	// public List<String> distances=new ArrayList<String>() ;//距离 列表
	public String stayPlace = "";// /栖息地
	public String longitude="0.00";
	public String latitude="0.00";
	public String status="";//状态
	public String lasttime="";//状态
	public String uploaded="";//状态
	// public List<String> stayPlaces=new ArrayList<String>() ;//栖息地 列表
	public String localId = UUID.randomUUID().toString();
	public String pinyin="";
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((birdImage == null) ? 0 : birdImage.hashCode());
		result = prime * result
				+ ((birdName == null) ? 0 : birdName.hashCode());
		result = prime * result
				+ ((collectLoaction == null) ? 0 : collectLoaction.hashCode());
		result = prime * result + ((deadDes == null) ? 0 : deadDes.hashCode());
		result = prime * result
				+ ((deadImage == null) ? 0 : deadImage.hashCode());
		result = prime * result + ((deadNum == null) ? 0 : deadNum.hashCode());
		result = prime * result + ((direct == null) ? 0 : direct.hashCode());
		result = prime * result
				+ ((distance == null) ? 0 : distance.hashCode());
		result = prime * result
				+ ((healthNum == null) ? 0 : healthNum.hashCode());
		result = prime * result + ((kind == null) ? 0 : kind.hashCode());
		result = prime * result
				+ ((lasttime == null) ? 0 : lasttime.hashCode());
		result = prime * result + ((num == null) ? 0 : num.hashCode());
		result = prime * result + ((place == null) ? 0 : place.hashCode());
		result = prime * result + ((sickDes == null) ? 0 : sickDes.hashCode());
		result = prime * result
				+ ((sickImage == null) ? 0 : sickImage.hashCode());
		result = prime * result + ((sickNum == null) ? 0 : sickNum.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result
				+ ((stayPlace == null) ? 0 : stayPlace.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		BirdMessage other = (BirdMessage) obj;
		if (birdImage == null) {
			if (other.birdImage != null)
				return false;
		} else if (!birdImage.equals(other.birdImage))
			return false;
		if (birdName == null) {
			if (other.birdName != null)
				return false;
		} else if (!birdName.equals(other.birdName))
			return false;
		if (collectLoaction == null) {
			if (other.collectLoaction != null)
				return false;
		} else if (!collectLoaction.equals(other.collectLoaction))
			return false;
		if (deadDes == null) {
			if (other.deadDes != null)
				return false;
		} else if (!deadDes.equals(other.deadDes))
			return false;
		if (deadImage == null) {
			if (other.deadImage != null)
				return false;
		} else if (!deadImage.equals(other.deadImage))
			return false;
		if (deadNum == null) {
			if (other.deadNum != null)
				return false;
		} else if (!deadNum.equals(other.deadNum))
			return false;
		if (direct == null) {
			if (other.direct != null)
				return false;
		} else if (!direct.equals(other.direct))
			return false;
		if (distance == null) {
			if (other.distance != null)
				return false;
		} else if (!distance.equals(other.distance))
			return false;
		if (healthNum == null) {
			if (other.healthNum != null)
				return false;
		} else if (!healthNum.equals(other.healthNum))
			return false;
		if (kind == null) {
			if (other.kind != null)
				return false;
		} else if (!kind.equals(other.kind))
			return false;
		if (lasttime == null) {
			if (other.lasttime != null)
				return false;
		} else if (!lasttime.equals(other.lasttime))
			return false;
		if (num == null) {
			if (other.num != null)
				return false;
		} else if (!num.equals(other.num))
			return false;
		if (place == null) {
			if (other.place != null)
				return false;
		} else if (!place.equals(other.place))
			return false;
		if (sickDes == null) {
			if (other.sickDes != null)
				return false;
		} else if (!sickDes.equals(other.sickDes))
			return false;
		if (sickImage == null) {
			if (other.sickImage != null)
				return false;
		} else if (!sickImage.equals(other.sickImage))
			return false;
		if (sickNum == null) {
			if (other.sickNum != null)
				return false;
		} else if (!sickNum.equals(other.sickNum))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (stayPlace == null) {
			if (other.stayPlace != null)
				return false;
		} else if (!stayPlace.equals(other.stayPlace))
			return false;
		return true;
	}

	public int clickNum=0;
	public String getBirdImage() {
		return birdImage;
	}

	public void setBirdImage(String birdImage) {
		this.birdImage = birdImage;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getBirdName() {
		return birdName;
	}

	public void setBirdName(String birdName) {
		this.birdName = birdName;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public String getHealthNum() {
		return healthNum;
	}

	public void setHealthNum(String healthNum) {
		this.healthNum = healthNum;
	}

	public String getSickNum() {
		return sickNum;
	}

	public void setSickNum(String sickNum) {
		this.sickNum = sickNum;
	}

	public String getSickImage() {
		return sickImage;
	}

	public void setSickImage(String sickImage) {
		this.sickImage = sickImage;
	}

	public String getSickDes() {
		return sickDes;
	}

	public void setSickDes(String sickDes) {
		this.sickDes = sickDes;
	}

	public String getDeadNum() {
		return deadNum;
	}

	public void setDeadNum(String deadNum) {
		this.deadNum = deadNum;
	}

	public String getDeadImage() {
		return deadImage;
	}

	public void setDeadImage(String deadImage) {
		this.deadImage = deadImage;
	}

	public String getDeadDes() {
		return deadDes;
	}

	public void setDeadDes(String deadDes) {
		this.deadDes = deadDes;
	}

	public String getCollectLoaction() {
		return collectLoaction;
	}

	public void setCollectLoaction(String collectLoaction) {
		this.collectLoaction = collectLoaction;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getDirect() {
		return direct;
	}

	public void setDirect(String direct) {
		this.direct = direct;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getStayPlace() {
		return stayPlace;
	}

	public void setStayPlace(String stayPlace) {
		this.stayPlace = stayPlace;
	}

	@Override
	public String toString() {
		return "BirdMessage [birdId=" + birdId + ", birdImage=" + birdImage
				+ ", date=" + date + ", birdName=" + birdName + ", num=" + num
				+ ", kind=" + kind + ", healthNum=" + healthNum + ", sickNum="
				+ sickNum + ", sickImage=" + sickImage + ", sickDes=" + sickDes
				+ ", deadNum=" + deadNum + ", deadImage=" + deadImage
				+ ", deadDes=" + deadDes + ", collectLoaction="
				+ collectLoaction + ", place=" + place + ", direct=" + direct
				+ ", distance=" + distance + ", stayPlace=" + stayPlace
				+ ", longitude=" + longitude + ", latitude=" + latitude
				+ ", status=" + status + ", lasttime=" + lasttime
				+ ", uploaded=" + uploaded + ", pinyin=" + pinyin
				+ ", clickNum=" + clickNum + ", localId=" + localId + "]";
	}



//	@Override
//	public String toString() {
//		return "BirdMessage [birdId=" + birdId + ", birdImage=" + birdImage
//				+ ", date=" + date + ", sickImage=" + sickImage
//				+ ", deadImage=" + deadImage + ", pinyin=" + pinyin
//				+ ", clickNum=" + clickNum + "]";
//	}


//	@Override
//	public String toString() {
//		return "BirdMessage [birdId=" + birdId + ", birdImage=" + birdImage
//				+ ", date=" + date + ", birdName=" + birdName + ", num=" + num
//				+ ", kind=" + kind + ", healthNum=" + healthNum + ", sickNum="
//				+ sickNum + ", sickImage=" + sickImage + ", sickDes=" + sickDes
//				+ ", deadNum=" + deadNum + ", deadImage=" + deadImage
//				+ ", deadDes=" + deadDes + ", collectLoaction="
//				+ collectLoaction + ", place=" + place + ", direct=" + direct
//				+ ", distance=" + distance + ", stayPlace=" + stayPlace
//				+ ", longitude=" + longitude + ", latitude=" + latitude
//				+ ", status=" + status + ", uploaded=" + uploaded + ", pinyin="
//				+ pinyin + ", clickNum=" + clickNum + "]";
//	}


	//
	//
	// birdImage:鸟类图片
	// date:日期
	// birdName:鸟类名称
	// num:数量
	// kind:种类
	// healthNum:健康数量
	// sickNum:生病数量
	// sickImage:生病图像
	// sickDes:生病症状描述
	// deadNum:死亡数量
	// deadImage:死亡图像
	// deadDes:死亡症状描述
	// collectLoaction:采集地点
	// place:采集位置
	// direct:方位
	// distance:距离
	// stayPlace:栖息地
}
